package com.hj.base.impl;

public interface IBasePresenter<V, M> {
    /**
     * 绑定view,model
     *
     * @param view  视图
     * @param model 模型
     */
    void attachVM(V view, M model);

    /**
     * 解绑view
     */
    void detachView();

    /**
     * view的绑定状态
     *
     * @return
     */
    boolean isViewAttached();
}
